package com.goods.business.service;

import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

public interface SupplierService {
    PageVO<Supplier> findSupplierList(Integer pageNum, Integer pageSize,
                                      SupplierVO supplierVO);

    void add(Supplier supplier);

    Supplier edit(Long id);


    void update(Supplier supplier);

    void delete(Long id);

    List<Supplier> findAll();
}
